
<?php
    require('db_connection.php');

if (isset($_COOKIE["userName"]))
{}
else
{
    $host  = $_SERVER['HTTP_HOST'];
    $uri  = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
    $extra = 'index.php';
    header("Location: http://$host$uri/$extra");
}
?>

<!doctype html public "-//W3C//DTD HTML 4.01//EN">

<html>
   <head>
      <title>La Union Online Library System</title>
      <meta http-equiv="generator" content="PHP Designer 2005" />
      <style type="text/css">
        @import url(style.css);
      </style>
   </head>

   <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000" class='content'>


    <table border='1' width='80%' align='center' class='outerframe'>
        <tr><td colspan='2'><img src='images/banner.gif' /></td></tr>
        <tr><td align='right' colspan='3' class='outerframe2'><?php require ('loginout.php');?></td></tr>
        <tr><td width='70%'>
            <table width='100%' cellpadding='20' border='1' class='outerframe2'>
                <tr><td class='button'><a href='libprofileview.php' name='library' title='Library'>Library</td>
                    <td class='button'<a href='admin.php' name='admin' title='Administrator'>Administrator</a></td>
                    <td class='button'><a href='catalog.php' name='catalog' title='Catalog'>Catalog</a></td>
                <tr><td class='button'><a href='client.php' name='client' title='Client'>Clients</a></td>
                    <td class='button'><a href='circulation.php' name='circulation' title='Circulation'>Circulation</a></td>
                    <td>Search</td></tr>
                <tr><td class='button'><a href='help.php' name='circulation' title='Help'>Help</td></tr>
            </table>
            </td>
            <td valign='top' width='30%'>
                <table width='100%' border='1' class='outerframe2'>
                <tr><td class='title'>Library Collection Status</td></tr>
                <tr><td height='15'></td></tr>
                <tr><td><a href='' title='Book In'>Book In</a></td></tr>
                <tr><td><a href='' title='Book Out'>Book Out</a></td></tr>
                <tr><td><a href='' title='Book Reserved'>Book Reserved</a></td></tr>
                </table>
            </td>
         </tr>
         <tr><td>Contact Us/Copyright</td></tr>
    </table>
   </body>
</html>
